Exemple #1
0
    public void RemoveSelf()
    {
        TouchMove tm = TouchMoveManager.GetShipBuild(this);

        if (tm != null)
        {
            tm.DestroyShipBuild();
        }
    }
Exemple #2
0
    public static TouchMove GetTouchMoveByCore(CanvasCore core)
    {
        TouchMove tm = TouchMoveManager.GetShipBuild(core);

        if (tm != null)
        {
            return(tm);
        }
        return(null);
    }
Exemple #3
0
    public static Transform GetTransformByCore(CanvasCore core)
    {
        Transform t  = null;
        TouchMove tm = TouchMoveManager.GetShipBuild(core);

        if (tm != null)
        {
            return(tm.gameObject.transform);
        }
        return(t);
    }