Guest User

Second

a guest
Aug 14th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class Shootstype : MonoBehaviour {
  6.  
  7.  
  8.     public enum ShootType { RockShoot, BulletShoot, FreezeShoot};
  9.  
  10.          
  11.    
  12.  
  13.     public static void RockShoot()
  14.     {
  15.         //Создание Instantiate RockShoot
  16.         Debug.Log("выстрел");
  17.     }
  18.  
  19.  
  20.     public static void  BulletShoot()
  21.     {
  22.         //Создание Instantiate BulletShoot
  23.         Debug.Log("выстрел123");
  24.     }
  25.  
  26.  
  27.     void Start () {
  28.        
  29.     }
  30.    
  31.    
  32.     void Update () {
  33.        
  34.     }
  35. }
Add Comment
Please, Sign In to add comment