命名空间

Tutorial

intermediate

+0XP

5 mins

(67)

Unity Technologies

命名空间

如何创建和使用命名空间来组织您的类。

Languages available:

1. 命名空间

SomeClass

using UnityEngine;
using System.Collections;

namespace SampleNamespace
{
    public class SomeClass : MonoBehaviour 
    {
        void Start () 
        {

        }
    }
}

Complete this Tutorial