// -----------------     ----------------     ----------------     ----------------    ----------------     ----------------      // 
	// Defines All Attributes And Instances That'll Be Run On Awake
	void Start () 
	{
	
	// ----------  ----------    ----------   ---------- //
	// Attaches The Specified Creature To The 'Creature Management' Creature List
	CreatureManagement.Heirachy (this.gameObject);
	
	// ----------  ----------    ----------   ---------- //
	// Defines All Necessiary Attributes
	if (this.gameObject.GetComponent <AnimationManagement> () != null)
	animation                                        = this.gameObject.GetComponent <AnimationManagement> ();
	// ----------  ----------    ----------   ---------- //
	if (this.gameObject.GetComponent <AntAnimation> () != null)
	acronophobia                                     = this.gameObject.GetComponent <AntAnimation> ();
	
		
	}
Exemple #2
0
 private void Start()
 {
     Instance = this;
 }