GithubHelp home page GithubHelp logo

doinject's People

Contributors

iafahim avatar mewlist avatar shiena avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shiena iafahim

doinject's Issues

PrefabInstaller

Just like with ScriptableObjectInstaller, it would be convenient to have the ability to install Unity objects, such as UI modules, on a per-prefab basis.

Currently, it is cumbersome because objects that are pre-placed in the Scene have to be installed via the component installer.

Warning appears when adding this to project

The warning is as follows:

A meta data file (.meta) exists but its folder 'Packages/st.mewli.di/Writerside~' can't be found, and has been created. Empty directories cannot be stored in version control, so it's assumed that the meta data file is for an empty directory in version control. When moving or deleting folders outside of Unity, please ensure that the corresponding .meta file is moved or deleted along with it.

Deleting Writerside~.meta file will fix, I think.

Optional injection

OptionalAttribute allowed on argument of InjectionPoint.
If no binding found for optional type, set default value.

[Inject]
public void Construct(
    SomeRequiredClass requiredClass,
    [Optional] SomeOptionalClass optionalClass)
{
}

Tickable

Framework derrived tick function.

Define framework driven loop timing callback.

[Tickable(TickableTiming.FixedUpdate)]
public Tick()
{
}

The first callback is guaranteed to be called after the injection is complete.

Callback timing is defined as below

EarlyUpdate,
FixedUpdate,
PreUpdate,
Update, // default
PreLateUpdate,
PostLateUpdate,

Dependent context reverse loading

Some context may require parent context to work. But, the context will not work correctly by lack of parent context.

So, it's required, support that load dependent scenes in reverse on Unity Editor application.
Achieve that in easy way.
Frameworks must not interfere with Unity's regular work flow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.