冯乐乐的《Unity Shader入门精要》附带项目,其中部分shader已经修改测试
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
358 B

3 years ago
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChariotModuleResource : MonoBehaviour {
public List<ChariotModule> cube = new List<ChariotModule>();
public GameObject testModule;
public void Start() {
ChariotModule module = new ChariotModule(testModule);
cube.Add(module);
}
}