protected void Start() { controlAI = GetComponent <vControlAI>(); controlAI.onDead.AddListener(RemoveCompanion); if (!friend) { FindFriend(); } }
private void Awake() { controlAI = GetComponent <vControlAI>(); }