Skip to content

pnarimani/AutoAssigner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoAssigner will add a button to the top of all script inspectors. The AutoAssign button will attempt to assign a valid value to all the object reference fields based on the name of the property.

image

AutoAssigner will take the name of the gameobject, name of the script and name of the property into account to find suitable candidates for the property.

Prefab Handling:

  • If the name of the property contains the word "prefab", AutoAssigner will only take prefabs into account as possible candidates.
  • If the type of the property inherits from UnityEngine.Component and the property name does not contain the word "prefab", AutoAssigner will first try to find a target inside the scene. If no target is found, AutoAssigner will try to find a target in the prefabs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages