示例#1
0
 public void SetGunAsMachineGun()
 {
     projectileLauncher.SetTypeDefinition(ProjectileLauncherFactory.GetLauncherTypeDefinition(ProjectileLauncherType.MachineGun));
     GetComponent <SpriteRenderer>().sprite = redSprite;
 }