/// <summary> /// duplicate settings to another object /// </summary> /// <param name="options">another object settings</param> public void DuplicateSettings(ExploderOption options) { options.Plane2D = Plane2D; options.CrossSectionVertexColor = CrossSectionVertexColor; options.CrossSectionUV = CrossSectionUV; options.SplitMeshIslands = SplitMeshIslands; }
// Start is called before the first frame update void Start() { exp = GetComponent <ExploderOption>(); }