コード例 #1
0
ファイル: Pushable.cs プロジェクト: Jiramide/REACTOR
    private GameObject getAdjacent(Vector3 offset)
    {
        Vector3 adjacentPos = transform.position + offset;

        return(grid.GetAt((int)adjacentPos.x, (int)adjacentPos.y, (int)adjacentPos.z));
    }