예제 #1
0
 void InitialComponentsConstruction()
 {
     if (optionalText == null)
     {
         optionalText = new OptionalText();
     }
     if (optionalAnimation == null)
     {
         optionalAnimation = new OptionalAnimation();
     }
     if (optionalSound == null)
     {
         optionalSound = new OptionalSound();
     }
 }
예제 #2
0
 void InitialComponentsConstruction()
 {
     if (optionalText == null) optionalText = new OptionalText();
     if (optionalAnimation == null) optionalAnimation = new OptionalAnimation();
     if (optionalSound == null) optionalSound = new OptionalSound();
 }