Allowed for the text to set a text origin.
This commit is contained in:
parent
51f8dfd522
commit
17e76a9dd4
6 changed files with 56 additions and 38 deletions
|
|
@ -102,7 +102,7 @@ namespace SM.Base.Scene
|
|||
addObject(show);
|
||||
|
||||
if (item is IScriptable scriptable)
|
||||
AddScript(scriptable);
|
||||
addScript(scriptable);
|
||||
|
||||
if (item is IFixedScriptable fixedScriptable) _fixedScriptables.Add(fixedScriptable);
|
||||
}
|
||||
|
|
@ -145,7 +145,6 @@ namespace SM.Base.Scene
|
|||
/// Adds the script to the collection.
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
[Obsolete("Please use Add()")]
|
||||
public void addScript(IScriptable item)
|
||||
{
|
||||
_scriptableObjects.Add(item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue