public static CCGetOffTheBoat GetSSAction(int sid) { CCGetOffTheBoat action = ScriptableObject.CreateInstance <CCGetOffTheBoat>(); action.side = sid; return(action); }
// 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(); }