public void UpdateOwningInfo(LDJam44FPSController newOwningPlayerController, SimpleObjectPool newOwningPool, int newDamageToCause) { owningPlayerController = newOwningPlayerController; owningPool = newOwningPool; //owningPlayerID = newOwningPlayerID; damageToCause = newDamageToCause; currentLifetime = lifeTime; }
private void Awake() { fpsController = transform.GetComponentInParent <LDJam44FPSController>(); }