void FireShotCreateTile(Vector3 rayOrigin, Vector3 rayDirection) { Vector3 collisionPoint; if (CheckRay(rayOrigin, rayDirection, out collisionPoint)) { WorldGrid grid = FindObjectOfType(typeof(WorldGrid)) as WorldGrid; grid.CreateTile(collisionPoint); } }