// Poruszanie obiektem Ghost private void GhostMove(float up, float down, float left, float right) { if (GhostObject != null) { GhostScript ghostScript = GhostObject.GetComponent <GhostScript>(); ghostScript.MoveGhost(up, down, left, right); } }