public void SSActionEvent(SSAction source, SSActionEventType events = SSActionEventType.Competeted, int intParam = 0, string strParam = null, Object objectParam = null) { if (source is CCFlyAction) { disk_number--; DiskFactory df = Singleton <DiskFactory> .Instance; df.FreeUsingDisk(source.gameobject); } }