Search Unity

Question How can you build a DOTS project in mono?

Discussion in 'Entity Component System' started by Deleted User, Nov 10, 2021.

  1. Deleted User

    Deleted User

    Guest

    Isn't DOTS built separately/away from Monobehaviour? If so, I have some questions..

    Q / How can you build a DOTS based project into "mono" target?
    Q / Isn't "mono" target a Monobehaviour?
    Q / Is there any difference if you build a DOTS project into "mono" or "IL2CPP" (e.g. performance)?
    Q / What should DOTS based project choose as a build target: mono or IL2CPP?

    Thanks!
     
  2. brunocoimbra

    brunocoimbra

    Joined:
    Sep 2, 2015
    Posts:
    679
    Your questions don't really make sense, but that can help you:
    - MonoBehaviour has nothing to do with Mono scripting backend.
    - DOTS can be used alongside MonoBehaviours, you just can't use MonoBehaviour if you are using Project Tiny.
    - AFAIK none of IL2CPP and Mono differences has anything to do with using DOTS or not, see https://docs.unity3d.com/Manual/scripting-backends.html
     
  3. Deleted User

    Deleted User

    Guest

    It seems that's what I'm missing! Thanks for the heads up! :)
     
    brunocoimbra likes this.