daily pastebin goal
64%
SHARE
TWEET

Untitled

a guest Apr 18th, 2015 189 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class AdverseEffects : MonoBehaviour {
  5.  
  6.     public bool poisonOn = false;
  7.  
  8.     public PlayerInfo PI;
  9.  
  10.     void Update()
  11.     {
  12.         if (poisonOn)
  13.         {
  14.             PI.InvokeRepeating("CalculationHP", 2, 2);
  15.         }
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top