Example #1
0
 // Use this for initialization
 protected override void Awake()
 {
     base.Awake();
     yellowSlime = GameObject.Find("YellowSlime(Clone)").GetComponent <YellowSlimePlayer>();
     damage      = 0;
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     yellowSlime = GameObject.Find("YellowSlime(Clone)").GetComponent <YellowSlimePlayer>();
     damage      = yellowSlime.SlimeUltimateDamage;
     StartCoroutine(LightingWallActive());
 }