Esempio n. 1
0
 /// <summary>
 /// Call this method on creating our yukari mechanics to properly setup Isis
 /// </summary>
 /// <param name="associatedYukariMechanics"></param>
 public void SetupIsis(YukariMechanics associatedYukariMechanics)
 {
     this.associatedYukariMechanics = associatedYukariMechanics;
     this.isisContainer             = this.transform.parent;
     this.isisAnim = GetComponent <Animator>();
     this.isisAnimSpeedController      = GetComponent <AnimationSpeedController>();
     this.projectileInteractionHandler = GetComponent <ProjectileInteractionHandler>();
     this.gameObject.SetActive(false);//Turn off isis on start
 }
Esempio n. 2
0
 private void Awake()
 {
     rigid = GetComponent <CustomPhysics2D>();
     associatedInteractionHandler = GetComponent <ProjectileInteractionHandler>();
     //associatedInteractionHandler.AssociatedCharacterStats = associatedCharacterStats;
 }