예제 #1
0
 //-----------------------------------------------------
 //  カメラワークを変更
 //-----------------------------------------------------
 public void ChangeWork <CW>() where CW : CameraWork
 {
     Destroy(cWork);
     cWork = gameObject.AddComponent <CW>();
 }