void Start() { PlayerStatusController = GetComponent <PlayerStatusController>(); MouseFacingController = GetComponent <MouseFacingController>(); SpawnPoint = transform.Find("BulletSpawn"); }
protected override void Awake() { base.Awake(); PlayerStatusController = GetComponent <PlayerStatusController>(); MouseFacingController = GetComponent <MouseFacingController>(); PlayerStatusController.LocalMessenger.On(LivingEntityController.MESSAGE_DEATH, OnDeath); }