コード例 #1
0
    public static CCGetOffTheBoat GetSSAction(int sid)
    {
        CCGetOffTheBoat action = ScriptableObject.CreateInstance <CCGetOffTheBoat>();

        action.side = sid;
        return(action);
    }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     director = SSDirector.getInstance();
     director.setController(this);
     ccr = new CCRunBoat();
     cgf = new CCGetOffTheBoat();
     cgn = new CCGetOnTheBoat();
     ccr.setController(this);
     cgn.setController(this);
     cgf.setController(this);
     LoadResources();
 }