mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 21:40:41 +00:00
优化代码
This commit is contained in:
@@ -84,7 +84,7 @@ namespace XCharts
|
||||
{
|
||||
obj = new GameObject();
|
||||
obj.name = name;
|
||||
obj.transform.parent = parent;
|
||||
obj.transform.SetParent(parent);
|
||||
obj.transform.localScale = Vector3.one;
|
||||
obj.transform.localPosition = Vector3.zero;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user